import { request } from './request'
export function getSongListCatlist () {
  return request({
    url: '/playlist/hot'
  })
}
export function getBannerInfo () {
  return request({
    url: '/top/playlist/highquality?limit=1&cat=%E5%85%A8%E9%83%A8'
  })
}

export function getPlaylists (limit, offset, cat) {
  return request({
    url: '/top/playlist',
    params: {
      cat,
      limit,
      offset
    }
  })
}
